<?php include('post-safe.php');?><article class="post">
	<h1 class="post-title">{$article.Title}</h1>
	<div class="mb20 postmeta">
		<span><time datetime="{$article.Time('Y-m-d')}">{$article.Time('Y-m-d')}</time></span><i>/</i>
		<span>{$article.ViewNums} 次浏览</span><i>/</i>
		<span><a target="_blank" href="{$article.Category.Url}" title="{$article.Category.Name}">{$article.Category.Name}</a></span>
	</div>
	{if $zbp->Config('aymFreeFour')->postStart}
	<div class="ggad">
		{$zbp->Config('aymFreeFour')->postStart}
	</div>
	{/if}
	<div class="entry">
		{$article.Content}
	</div>
	{if $zbp->Config('aymFreeFour')->alipay || $zbp->Config('aymFreeFour')->wxpay}
	<div class="mb20" id="reward">
		<div class="text">
			<p>如果您觉得上面的内容对您有帮助，可以打赏支持一下！</p>
			<p><a href="javascript:void(0);" title="打赏">打赏</a></p>
		</div>
	</div>
	{/if}
	{if $article.Tags}
	<div class="mb20 tags">
		关键词：{foreach $article.Tags as $tag}<a target="_blank" href="{$tag.Url}" title="{$tag.Name}">{$tag.Name}</a>{/foreach}
	</div>
	{/if}
	{if $zbp->Config('aymFreeFour')->postBtm}
	<div class="mb20 ggad">
		{$zbp->Config('aymFreeFour')->postBtm}
	</div>
	{/if}
	<div class="mb20 postnavi">	
		{if $article.Prev}			
		<div class="post_navi_left">
			<p class="post_navi_title"><i>&lt;&lt;</i> 上一篇</p>
			<p><a target="_blank" href="{$article.Prev.Url}" title="{$article.Prev.Title}">{$article.Prev.Title}</a></p>
		</div>
		{/if}
		{if $article.Next}
		<div class="post_navi_right">
			<p class="post_navi_title">下一篇 <i>&gt;&gt;</i></p>
			<p><a target="_blank" href="{$article.Next.Url}" title="{$article.Next.Title}">{$article.Next.Title}</a></p>
		</div>
		{/if}
	</div>
	{$getid=$article.Category.ID}
	{$getArray = GetList(8,$getid,null,null,null,null,array('only_not_ontop'=>true))}
	{if $getArray}
	<section class="mb20 related">
		<h3 class="boxTitle">相关文章</h3>
		{foreach $getArray as $related}
		<ul>
			<li><span>{$related.ViewNums}</span><a target="_blank" href="{$related.Url}" title="{$related.Title}">{$related.Title}</a></li>
		</ul>
		{/foreach}
	</section>
	{/if}
	{if !$article.IsLock}
	{template:comments}		
	{/if}
</article>
{if $zbp->Config('aymFreeFour')->alipay || $zbp->Config('aymFreeFour')->wxpay}
<div id="popup">
	<div class="close">×</div>
	<ul>
		{if $zbp->Config('aymFreeFour')->alipay}
		<li>
			<p>
				<img src="{$zbp->Config('aymFreeFour')->alipay}" alt="支付宝"/>
			</p>
			<p>支付宝扫码打赏</p>
		</li>
		{/if}
		{if $zbp->Config('aymFreeFour')->wxpay}
		<li>
			<p>
				<img src="{$zbp->Config('aymFreeFour')->wxpay}" alt="微信"/>
			</p>
			<p>微信扫码打赏</p>
		</li>
		{/if}
	</ul>
</div>
{/if}